
import QtQuick 1.0


Rectangle {
    width: 800; height: 480
    color: "#464646"
    ListModel {
        id: list

        ListElement {
            name: "Sunday"
        }

        ListElement {
            name: "Monday"
        }

        ListElement {
            name: "Tuesday"
        }

        ListElement {
            name: "Wednesday"
        }

        ListElement {
            name: "Thursday"
        }

        ListElement {
            name: "Friday"

        }

        ListElement {
            name: "Saturday"
        }
    }

    ListView {
        id: flickable

        anchors.fill: parent
        focus: true
        highlightRangeMode: ListView.StrictlyEnforceRange
        orientation: ListView.Horizontal
        snapMode: ListView.SnapOneItem
        model: list
        delegate: Week { }
    }
}
